package com.kedacom.ctsp.authz.oauth2.service;

import com.kedacom.ctsp.authz.exception.UsernameNotFoundException;
import com.kedacom.ctsp.authz.oauth2.core.OAuth2Authentication;

/**
 * @com.kedacom.ctsp.authz.oauth2.service
 * @fenghaiju
 * @2018/5/18-11:11
 * @cloud-rbac-oauth2
 **/
public interface OAuth2AuthenticationService {

    OAuth2Authentication loadUserByUsername(String username, String clientSign) throws UsernameNotFoundException;
}
